package com.zwj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author zwj
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("class_info_view")
@ApiModel(value="ClassInfoViewEntity对象", description="VIEW")
public class ClassInfoViewEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "物理id")
    @TableField("class_info_id")
    private Long classInfoId;

    @ApiModelProperty(value = "院系ID")
    @TableField("colleges_id")
    private Long collegesId;

    @ApiModelProperty(value = "专业ID")
    @TableField("major_id")
    private Long majorId;

    @ApiModelProperty(value = "年级ID")
    @TableField("year_info_id")
    private Long yearInfoId;

    @ApiModelProperty(value = "班号ID")
    @TableField("class_base_info_id")
    private Long classBaseInfoId;

    @ApiModelProperty(value = "班主任ID")
    @TableField("teacher_id")
    private Long teacherId;

    @ApiModelProperty(value = "是否结业，参见YesOrNo枚举")
    @TableField("is_graduation")
    private String isGraduation;

    @ApiModelProperty(value = "院系名称")
    @TableField("colleges_name")
    private String collegesName;

    @ApiModelProperty(value = "专业名称")
    @TableField("major_name")
    private String majorName;

    @ApiModelProperty(value = "年级")
    @TableField("year_name")
    private String yearName;

    @ApiModelProperty(value = "班级号")
    @TableField("class_name")
    private String className;

    @ApiModelProperty(value = "用户编号")
    @TableField("teacher_no")
    private String teacherNo;

    @ApiModelProperty(value = "用户类型，参见RoleType枚举")
    @TableField("teacher_role_type")
    private String teacherRoleType;

    @ApiModelProperty(value = "姓名")
    @TableField("teacher_name")
    private String teacherName;

    @ApiModelProperty(value = "身份证号")
    @TableField("teacher_id_no")
    private String teacherIdNo;

    @ApiModelProperty(value = "性别，参见Sex枚举")
    @TableField("teacher_sex")
    private String teacherSex;

    @ApiModelProperty(value = "手机号")
    @TableField("teacher_mobile_no")
    private String teacherMobileNo;

    @ApiModelProperty(value = "职位，参见Position枚举")
    @TableField("teacher_position")
    private String teacherPosition;

    @ApiModelProperty(value = "邮箱")
    @TableField("teacher_email")
    private String teacherEmail;

    @ApiModelProperty(value = "备注")
    @TableField("teacher_remark")
    private String teacherRemark;

    @ApiModelProperty(value = "状态，参见YesOrNo枚举")
    @TableField("teacher_status")
    private String teacherStatus;
    @ApiModelProperty(value = "人员总数")
    @TableField("sum")
    private String sum;

}
